include($$PWD/../sdk/sdk.pri)

# load(qsa)
TEMPLATE = app
TARGET = optra
DESTDIR = ../output
CONFIG += precompile_header \
    qsa
QT += xml \
    network \
    core \
    script \
    xmlpatterns \
    opengl \
    sql \
    webkit \
    scripttools
FORMS = welcomedlg.ui \
    alertwindow.ui \
    zoneinstalui.ui \
    applicationinstallui.ui \ # windowholderui.ui \
    eventview.ui \
    testwindow.ui \
    shell.ui
PRECOMPILED_HEADER = $$PWD/pch.h
HEADERS += $$PWD/pch.h \
    $$PWD/zonesmanager.h \
    proxyimpl.h \
    zonethread.h \
    optrzone.h \
    welcomedlg.h \
    alertwindow.h \
    tasksmanager.h \
    task.h \
    applicationnative.h \
    applicationscript.h \
    zoneinstalui.h \
    applicationinstallui.h \
    applicationsmanager.h \
    customproxy.h \ # windowholderui.h \
    eventview.h \
    graphicview.h \
    testwindow.h \
    window.h \
    scene.h \
    point3d.h \
    openglscene.h \
    model.h \
    application.h \
    shell.h \
    shelltextwindow.h \
    highlighter.h \
    getopt.h \
    expandingwindow.h \
    menubutton.h \
    servertask.h \
    tcpserver.h \
    searchbox.h \
    googlesuggest.h \
    scriptenvironment.h \
    nativewindow.h \
    global.h \
    toolbar.h \
    scenetoolbardata.h
SOURCES = $$PWD/main.cpp \
    $$PWD/zonesmanager.cpp \
    proxyimpl.cpp \
    zonethread.cpp \
    optrzone.cpp \
    welcomedlg.cpp \
    alertwindow.cpp \
    tasksmanager.cpp \
    task.cpp \
    applicationnative.cpp \
    applicationscript.cpp \
    zoneinstalui.cpp \
    applicationinstallui.cpp \
    applicationsmanager.cpp \
    customproxy.cpp \ # windowholderui.cpp \
    eventview.cpp \
    graphicview.cpp \
    testwindow.cpp \
    window.cpp \
    scene.cpp \
    openglscene.cpp \
    model.cpp \
    application.cpp \
    shell.cpp \
    shelltextwindow.cpp \
    highlighter.cpp \
    getopt.cpp \
    expandingwindow.cpp \
    menubutton.cpp \
    servertask.cpp \
    tcpserver.cpp \
    searchbox.cpp \
    googlesuggest.cpp \
    scriptenvironment.cpp \
    nativewindow.cpp \
    global.cpp \
    toolbar.cpp \
    scenetoolbardata.cpp
TRANSLATIONS = langs/optra_pl.ts
LIBS += $$SDK_LIBS
include($$PWD/../libs/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.pri)
RESOURCES += resources.qrc
OTHER_FILES += optraqml.qml \
    resources/zone-schema.xsd \
    resources/style.css \
    resources/shellwordlist.txt
